]> dgit.raspbian.org Git - gnome-shell.git/commit
endSessionDialog: Immediately return from Open()
authorAdrian Vovk <adrianvovk@gmail.com>
Tue, 20 Jan 2026 05:09:29 +0000 (00:09 -0500)
committerMarge Bot <marge-bot@gnome.org>
Tue, 3 Mar 2026 04:57:17 +0000 (04:57 +0000)
commit6b482e1720cb373b8a66146f16ffc9d2e49a7c52
treef59ea60cbeb3757eeeaa2e3498eb3c3758df6395
parente2768fa400f890989c6953923778db667954ca28
endSessionDialog: Immediately return from Open()

There's no need to wait for the dialog to finish fading in before we can
return from Open().

The code, as it was before, would break dialog updates: the dialog was
already open, so the signal would never get emitted, so the method would
never return, and so gnome-session would remain blocked waiting for a
return value that will never come.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4040>
js/ui/endSessionDialog.js